package com.letoken.platform.repo.ecommerce.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserOrderNewDetailSubRes implements Serializable {
    @ApiModelProperty(value = "子订单ID")
    private Integer id;


    @ApiModelProperty(value = "商品ID")
    private Integer productId;

    @ApiModelProperty("商品名称")
    private String productTitle;

    @ApiModelProperty("商品主图")
    private String pic;

    @ApiModelProperty("子订单号")
    private String orderNo;

    @ApiModelProperty("商品规格")
    private String productAttr;

    private String attrStr;

    private Integer status;

    @ApiModelProperty("订单数量")
    private Integer quantity;

    @ApiModelProperty("实际价格")
    private BigDecimal realPrice;


    @ApiModelProperty("订单总额")
    private BigDecimal totalAmount;

    @ApiModelProperty("订单总额")
    private BigDecimal totalAmountCap;


    private BigDecimal contributing;


    @ApiModelProperty("rmb价格")
    private BigDecimal rmbPrice;

    private BigDecimal rmbRate;

    @ApiModelProperty(value = "售后订单ID")
    private Integer afterOrderId;


    private Integer afterStatus;

    private Integer refundStatus;

    private Integer refundGoodsStatus;

    private Integer afterType;

    @ApiModelProperty("售后前状态")
    private Integer beforeStatus;

    @ApiModelProperty(value = "上架状态：0->上架；1->下架")
    private Integer publishStatus;

}
